package com.kkb.kkbportal.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author syt
 */
@ApiModel(value = "UserDto", description = "用户基本个人资料")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {

    // 基本信息

    @ApiModelProperty(value = "user主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "头像地址")
    private String headUrl;

    @ApiModelProperty(value = "账户名字")
    private String name;

    @ApiModelProperty(value = "身份/职位")
    private String job;

    @ApiModelProperty(value = "擅长技能")
    private String skill;

    @ApiModelProperty(value = "项目信息")
    private String projectInfo;

    @ApiModelProperty(value = "日薪")
    private Integer dailySalary;
}
